<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>... - 扩展运算符</title>
</head>
<body>
<script>
    //[...] 扩展运算符能将 [数组] 转换为逗号分隔的[参数序列]
    const name = ['zhangSan', 'liSi', 'wangWu'];

    function print() {
        console.log(arguments)
    }

    print(...name);
</script>
</body>
</html>